package com.woniu40.petai_manager.mapper;

import com.woniu40.petai_manager.entity.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandMapper {
    int insert(Brand record);

    List<Brand> selectAll();

    int deleteBrandById(Integer brandId);

    Brand selectById(Integer brandId);

    int updateBrand(Brand brand);

    int deleteByIds(@Param("idList") List<Integer> idList);
}